body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #1a1a1a;
}
svg {
  width: 60vmin;
  height: auto;
}
svg path {
  stroke-width: 0.5px;
}
figure {
  perspective: 2000px;
  transform-style: preserve-3d;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  place-items: center;
}
figure > * {
  grid-column: 1;
  grid-row: 1;
}
figure:hover svg {
  transform: rotatex(60deg) rotateZ(30deg) translateZ(var(--z, 0px));
}
figure:hover #bg {
  fill: transparent;
  stroke: white;
}
figure:hover #circle-1 {
  --z: 80px;
  fill: white;
  stroke: transparent;
}
svg {
  transform-origin: center center;
  transform-style: preserve-3d;
  transition: 600ms ease-in-out;
  transition-property: transform, fill, stroke;
}
#bg {
  stroke: transparent;
  fill: white;
}
#plus {
  stroke-dasharray: 2.5px;
  stroke: transparent;
  fill: rgba(99, 97, 206);
}
#circle-1 {
  fill: #f04405;
  stroke: transparent;
  stroke-dasharray: 4;
}